package com.java.remoteInterface;

import com.alibaba.fastjson.JSONObject;
import com.java.dto.ResultMsg;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "microservice-seatAtbank2")
public interface Bank2Service {

    /**
     * 增加金额准备（Hmily只需要try方法，confirm和cancel方法都在服务方声明）
     */
    @PostMapping("/transfer/doTransfer")
    ResultMsg doTransfer(JSONObject jsonObject);


}
